Skip to content

Conversation

@gumpump
Copy link
Contributor

@gumpump gumpump commented Jan 8, 2025

Hello :)

I'm using the onewire library of this example in one of my own projects. There I noticed the missing include guard, which would prevent the multiple definition of the functions while compiling.

I think this is code users would like to use in their own projects, so the added include guard would prevent preventable problems.

This is my first pull request, please be kind :)

@lurch
Copy link
Contributor

lurch commented Jan 8, 2025

ping @mjcross who added this file in #334

@mjcross
Copy link
Contributor

mjcross commented Jan 8, 2025

@lurch no objections
@gumpump thanks for taking the time to contribute :-)

@lurch lurch changed the base branch from master to develop January 8, 2025 19:23
@peterharperuk peterharperuk added this to the 2.1.1 milestone Feb 5, 2025
@peterharperuk peterharperuk self-assigned this Feb 5, 2025
@peterharperuk peterharperuk merged commit 8501c29 into raspberrypi:develop Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants